﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NVSecurity.Models;
namespace NVSecurity.Controllers
{
    public class CustomerController : Controller
    {
        NVSecurityEntities db = new NVSecurityEntities();
        //
        // GET: /Customer/

        public ActionResult Index()
        {
            var customerList = db.Customers.ToList();
            return View(customerList);
        }
        public ActionResult _GetCustomerSlide()
        {
            var customerList = db.Customers.ToList();
            return PartialView(customerList);
        }

    }
}
